# -*- encoding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 5
_modified_time = 1292685833.045639
_template_filename='/home/sunzheng/Projects/FidoWeb/FidoWeb_0.98/fidoweb/templates/login/forgetpassword.mako'
_template_uri='login/forgetpassword.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
from webhelpers.html import escape
_exports = []


def render_body(context,**pageargs):
    context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        c = context.get('c', UNDEFINED)
        __M_writer = context.writer()
        # SOURCE LINE 1

        c.cssFiles.append('/css/login/login.css')
        
        
        # SOURCE LINE 3
        __M_writer(u'\n<script type="text/javascript">\nfunction validateMobile(){\n\tvar mobile = $("#form_forgetpassword #fg_input_mobile").val();\n\tif (!isValidMobile(mobile)) return false;\n\treturn true;\n}\n$(document).ready(function(){\n\t$("#form_forgetpassword").validationEngine();\n\t$("#button_continue").click(function(){\n\t\t$.validationEngine.submitValidation("#form_forgetpassword"); \n\t\tvar obj = this;\n\t\tvar mobile = $("#form_forgetpassword #fg_input_mobile").val();\n\t\tif (!isValidMobile(mobile)) return;\n\t\t$.validationEngine.buildPrompt("#form_forgetpassword #button_continue", "\u6b63\u5728\u63d0\u4ea4\u8bf7\u6c42\uff0c\u8bf7\u7a0d\u5019\u3002", "load");\n\t\t$.get("/login/resetPassword", {mobile : mobile}, function(data){\n\t\t\tif (data == "too fast"){\n\t\t\t\t$.validationEngine.closePrompt("#form_forgetpassword #button_continue");\n\t\t\t\t$.validationEngine.buildPrompt("#form_forgetpassword #button_continue", "\u60a8\u7684\u63d0\u4ea4\u8fc7\u4e8e\u9891\u7e41\uff0c\u8bf7\u7a0d\u5019\u5c1d\u8bd5\u3002", "error");\n\t\t\t}  else if (data == "unregistered user"){\n\t\t\t\t$.validationEngine.closePrompt("#form_forgetpassword #button_continue");\n\t\t\t\t$.validationEngine.buildPrompt("#form_forgetpassword #login_input_mobile", "\u60a8\u8f93\u5165\u7684\u624b\u673a\u53f7\u672a\u5728\u672c\u7f51\u7ad9\u6ce8\u518c\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165\u3002", "error");\n\t\t\t}  else if (data == "success"){\n\t\t\t\t$.validationEngine.buildPrompt("#form_forgetpassword #button_continue", "\u60a8\u7684\u5bc6\u7801\u5df2\u91cd\u7f6e\uff0c\u8bf7\u68c0\u67e5\u60a8\u7684139\u90ae\u7bb1\u3002", "pass");\n\t\t\t\tsetTimeout("window.location = \'/login\';", 2000);\n\t\t\t}  else {\n\t\t\t\t$.validationEngine.closePrompt("#form_forgetpassword #button_continue");\n\t\t\t\t$.validationEngine.buildPrompt("#form_forgetpassword #button_continue", "\u8bf7\u6c42\u5931\u8d25\u3002", "error");\n\t\t\t}  \n\t\t});\n\t});\n});\n</script>\n<div id="login_bound">\n\t<h1>\u5bc6\u7801\u627e\u56de</h1>\n\t<div class="page_column_left_padding15">\n\t\t<div class="top"></div>\n\t\t<div class="content">\n\t\t\t<form id="form_forgetpassword">\n\t\t\t\t<div id="fg_mobile">\n\t\t\t\t\t<label>\u624b\u673a\u53f7</label>\n\t\t\t\t\t<input id="fg_input_mobile" type="text" name="mobile" class="validate[required,funcCall[validateMobile]]"></input>\n\t\t\t\t</div>\n\t\t\t\t<div id="bottom_buttons" style="clear:both;">\n\t\t\t\t\t<div id="button_continue" style="cursor:pointer;float:right;width:140px;height:35px;background:url(\'/image/global/continue_button.gif\') no-repeat scroll 0 0 transparent;"></div>\n\t\t\t\t</div>\n\t\t\t</form>\n\t\t</div>\n\t\t<div class="bottom"></div>\n\t</div>\n\t<div class="page_column_right_padding_left30">\n\t\t<h2>\u5982\u4f55\u624d\u80fd\u627e\u56de\u6211\u7684\u5bc6\u7801\uff1f</h2>\n\t\t<p>\u4e3a\u4e86\u60a8\u7684\u5b89\u5168\uff0c\u60a8\u7684\u5bc6\u7801\u4e0d\u4f1a\u4ee5\u660e\u6587\u7684\u5f62\u5f0f\u5728\u670d\u52a1\u5668\u4e0a\u4fdd\u5b58\uff0c\u56e0\u6b64\uff0c\u5728\u60a8\u9009\u62e9\u201c\u627e\u56de\u5bc6\u7801\u201d\u540e\uff0c\u6211\u4eec\u5c06<strong>\u91cd\u7f6e</strong>\u60a8\u7684\u5bc6\u7801\uff0c\u5e76\u5c06\u91cd\u7f6e\u540e\u7684\u5bc6\u7801\u53d1\u9001\u81f3\u60a8\u7684139\u90ae\u7bb1\u3002</p>\n\t\t<p>\u60a8\u53ea\u9700\u8981\u586b\u5165\u60a8\u7684\u624b\u673a\u53f7\u5373\u53ef\u91cd\u7f6e\u5bc6\u7801\u3002</p>\n\t\t<p>\u5728\u83b7\u53d6\u91cd\u7f6e\u540e\u7684\u5bc6\u7801\u540e\uff0c<strong>\u8bf7\u60a8\u53ca\u65f6\u4fee\u6539\u5bc6\u7801</strong>\u3002\u60a8\u53ef\u4ee5\u5728\u60a8\u7684\u4e2a\u4eba\u8bbe\u7f6e\u9875\u9762\u4fee\u6539\u60a8\u7684\u5bc6\u7801\u3002</p>\n\t</div>\n</div>\n')
        return ''
    finally:
        context.caller_stack._pop_frame()


